package com.hksj.em.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.em.query.DevicesInfoQuery;
import com.hksj.em.vo.DevicesVO;
import com.hksj.em.vo.DevidesPropertyVO;
import com.hksj.em.vo.LightingDevicesVO;
import com.hksj.em.vo.LightingPropertyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface DevicesInfoMapper {

    Map<String, Integer> queryDevicesAmountByCode(@Param("query") DevicesInfoQuery query);

    List<DevicesVO> queryAirConditioningDevices(Page<DevicesVO> page, @Param("query") DevicesInfoQuery query);

    List<DevidesPropertyVO> selectDevidesPropertyByIds(@Param("devides") List<String> devides);

    List<LightingDevicesVO> queryLightingsInfoByPage(@Param("query")DevicesInfoQuery query);

    List<LightingPropertyVO> selectLightingPropertyByIds(List<String> list);
}
